package com.fingard.dsp.bank.reqrespobj.unifiedorder;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.fingard.text.StringHelper;

public class RetAtsGenGetUserCodeURL {
	public String respCode;
	public String respInfo;
	
	/** 授权地址 */
	public String getUserCodeURL;
	
	/** 用户ID */
	public String userId;

    /** 用户信息Json */
    public String userinfos;

	public HashMap<String, String> getRetAtsHashMap() {
		HashMap<String, String> retHash = new HashMap<String, String>();
		retHash.put("RespCode", respCode);
		retHash.put("RespInfo", respInfo);
		if (StringHelper.hasAnyChar(getUserCodeURL)) {
			retHash.put("GetUserCodeURL", getUserCodeURL);
		}
		if (StringHelper.hasAnyChar(userId)) {
			retHash.put("UserId", userId);
		}
        if (StringHelper.hasAnyChar(userinfos)) {
            retHash.put("Userinfos", userinfos);
        }

		return retHash;
	}
}
